﻿using Basic.FormRemoteModel.PageLayout.Chart;

namespace Basic.FormRemoteModel.PageBody.Model
{
    public class ChartConfig
    {
        public long? FormId { get; set; }
        /// <summary>
        /// 报表类型
        /// </summary>
        public PageChartType ChartType { get; set; }


        /// <summary>
        /// Y轴
        /// </summary>
        public ChartYAxis YAxis { get; set; }

        /// <summary>
        /// 图例
        /// </summary>
        public ChartLegend Legend { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public ChartTitle Title { get; set; }

        /// <summary>
        /// 辅助线
        /// </summary>
        public Dictionary<long, ChartMarkLine> MarkLine { get; set; }

        /// <summary>
        /// 是否堆叠
        /// </summary>
        public bool IsStack { get; set; }
        /// <summary>
        /// 是否配置
        /// </summary>
        public bool IsConfig { get; set; }

        /// <summary>
        /// X轴
        /// </summary>
        public ChartXAxis XAxis { get; set; }
        /// <summary>
        /// 是否显示表头
        /// </summary>
        public bool IsShowHead { get; set; }
    }
}
